export const modalFormConfig = {
  labelWidth: "100px",
  itemLayout: {
    padding: "10px 40px",
  },
  colLayout: { span: 24 },
  alwaysShow: true,
  formItems: [
    {
      field: "name",
      type: "input",
      label: "设备名称",
      placeholder: "请输入设备名称",
      rules: [{ required: true, message: "请输入设备名称", trigger: "blur" }],
    },
    {
      field: "sn",
      type: "number",
      label: "设备编号",
      placeholder: "请输入设备编号",
      rules: [{ required: true, message: "请输入设备编号", trigger: "blur" }],
    },
    {
      field: 'brandId',
      type: 'select',
      label: '设备品牌',
      placeholder: '请选择设备品牌',
      rules: [{ required: true, message: '请选择设备品牌', trigger: 'blur' }],
      options: []
    },
  ],
};
